// kX Driver / kX Driver Interface / kX Driver Effects Library
// Copyright (c) Eugene Gavrilov, Hanz Petrov and Max Mikhailov, 2001-2005.
// All rights reserved

/*
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 */

// 10kX microcode
// Patch name: 'APS Fuzz'

char *apsfuzz_copyright="Copyright 1997 E-mu Systems/Creative Technology, Ltd.";
char *apsfuzz_engine="EMU10K1_A0";
char *apsfuzz_comment="APS Fuzz, DLLed by Hanz, Apr 25 2002";
char *apsfuzz_created="Fri Jul 13 12:59:03 2001 ";
char *apsfuzz_guid="0fc51a60-4cdc-11d6-a4c7-bc36166a1e45";

char *apsfuzz_name="APS Fuzz";
int apsfuzz_itramsize=0,apsfuzz_xtramsize=0;

dsp_register_info apsfuzz_info[]={
	{ "in0",0x4000,0x7,0xffff,0x0 },
	{ "in1",0x4001,0x7,0xffff,0x0 },
	{ "out0",0x8000,0x8,0xffff,0x0 },
	{ "out1",0x8001,0x8,0xffff,0x0 },
	{ "dyn8002",0x8002,0x1,0xffff,0x8df37f8c },	//EQ Center
	{ "dyn8003",0x8003,0x1,0xffff,0x7eaa9b79 },	//EQ Bandwidth
	{ "dyn8004",0x8004,0x1,0xffff,0x24d2843 },	//Gain
	{ "dyn8005",0x8005,0x1,0xffff,0x393e4b8b },	//Pre LP Cutoff1
	{ "dyn8006",0x8006,0x1,0xffff,0x727c9717 },	//Pre LP Cutoff2
	{ "dyn8007",0x8007,0x1,0xffff,0x7 },		//Edge
	{ "dyn8008",0x8008,0x1,0xffff,0x0 },
	{ "dyn8009",0x8009,0x1,0xffff,0x0 },
	{ "dyn800a",0x800a,0x1,0xffff,0x0 },
	{ "dyn800b",0x800b,0x1,0xffff,0x0 },
	{ "dyn800c",0x800c,0x1,0xffff,0x0 },
	{ "dyn800d",0x800d,0x1,0xffff,0x0 },
	{ "tmp800e",0x800e,0x3,0xffff,0x0 },
	{ "tempout0",0x800f,0x3,0xffff,0x0 },
	{ "tempout1",0x8010,0x3,0xffff,0x0 },
};

dsp_code apsfuzz_code[]={
	{ 0x0,0x800f,0x2040,0x4000,0x8005 },
	{ 0x0,0x8010,0x2040,0x4001,0x8005 },
	{ 0x0,0x800c,0x800f,0x800c,0x8006 },
	{ 0x0,0x800d,0x8010,0x800d,0x8006 },
	{ 0xc,0x800f,0x800c,0x8007,0x2040 },
	{ 0xc,0x8010,0x800d,0x8007,0x2040 },
	{ 0x0,0x800f,0x2040,0x800f,0x8004 },
	{ 0x1,0x800e,0x800f,0x8008,0x8003 },
	{ 0x1,0x800e,0x800e,0x800a,0x8002 },
	{ 0x0,0x8008,0x800a,0x800e,0x8002 },
	{ 0x0,0x800a,0x800e,0x2040,0x2040 },
	{ 0x0,0x8000,0x800e,0x2040,0x2040 },
	{ 0x0,0x8010,0x2040,0x8010,0x8004 },
	{ 0x1,0x800e,0x8010,0x8009,0x8003 },
	{ 0x1,0x800e,0x800e,0x800b,0x8002 },
	{ 0x0,0x8009,0x800b,0x800e,0x8002 },
	{ 0x0,0x800b,0x800e,0x2040,0x2040 },
	{ 0x0,0x8001,0x800e,0x2040,0x2040 },
};

#define _EQ_CENTER			0x8002
#define _EQ_BANDWIDTH		0x8003
#define _GAIN				0x8004
#define _PRE_LP_CUTOFF_1	0x8005
#define _PRE_LP_CUTOFF_2	0x8006
#define _EDGE				0x8007
